package com.uls.hj.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.uls.common.annotation.Excel;
import com.uls.common.core.domain.BaseEntity;

/**
 * 消息提醒对象 hj_messages
 * 
 * @author hj
 * @date 2024-11-27
 */
public class HjMessages extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键id */
    private Long messageId;

    /** 接收者ID，用户ID */
    @Excel(name = "接收者ID，用户ID")
    private Long receiverId;

    /** 消息类型，0-预订提醒、1-审核通知 */
    @Excel(name = "消息类型，0-预订提醒、1-审核通知")
    private Long messageType;

    /** 消息内容 */
    @Excel(name = "消息内容")
    private String messageContent;

    public void setMessageId(Long messageId) 
    {
        this.messageId = messageId;
    }

    public Long getMessageId() 
    {
        return messageId;
    }
    public void setReceiverId(Long receiverId) 
    {
        this.receiverId = receiverId;
    }

    public Long getReceiverId() 
    {
        return receiverId;
    }
    public void setMessageType(Long messageType) 
    {
        this.messageType = messageType;
    }

    public Long getMessageType() 
    {
        return messageType;
    }
    public void setMessageContent(String messageContent) 
    {
        this.messageContent = messageContent;
    }

    public String getMessageContent() 
    {
        return messageContent;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("messageId", getMessageId())
            .append("receiverId", getReceiverId())
            .append("messageType", getMessageType())
            .append("messageContent", getMessageContent())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .toString();
    }

    /** 接收人账户 */
    private String receiverAccount;

    public String getReceiverAccount() {
        return receiverAccount;
    }

    public void setReceiverAccount(String receiverAccount) {
        this.receiverAccount = receiverAccount;
    }
}
